package personal.hrsw1.demo1.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import personal.hrsw1.demo1.domain.Goods;
import personal.hrsw1.demo1.domain.SysOrder;
import personal.hrsw1.demo1.mapper.GoodsMapper;
import personal.hrsw1.demo1.service.SysOrderService;
import personal.hrsw1.demo1.mapper.SysOrderMapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author Administrator
* @description 针对表【sys_order】的数据库操作Service实现
* @createDate 2025-04-25 16:14:59
*/
@Service
public class SysOrderServiceImpl extends ServiceImpl<SysOrderMapper, SysOrder>
    implements SysOrderService{
    @Autowired
    SysOrderMapper sysOrderMapper;

    @Override
    public List<SysOrder> selectAll() {
        return sysOrderMapper.selectAll();
    }

    @Override
    public List<SysOrder> findById(String id) {
        return sysOrderMapper.findById(id);
    }

    @Override
    public List<SysOrder> selectOrdersWithDetails() {
        return sysOrderMapper.selectOrdersWithDetails();
    }


}




